<template>
  <div class="loadingWrapper" :style="{height}" v-loading="props.loading">
    <slot></slot>
  </div>
</template>
<script lang="ts" setup>
const props = defineProps({
  loading:Boolean,
  height:String
})
</script>
<style lang="scss" scoped>
.loadingWrapper {
  width: 100%;
  overflow: hidden;
}
</style>
